package cn.lyq.card.ui.qualified

import cn.lyq.card.R
import cn.lyq.card.data.model.CashBackStageInfo
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder


class CashBackStageSubAdapter : BaseQuickAdapter<CashBackStageInfo, BaseViewHolder>
    (R.layout.item_qualified_stage, mutableListOf()) {

    override fun convert(holder: BaseViewHolder, item: CashBackStageInfo) {
        holder.setText(R.id.bg, "${item.getStage()}达标人数")
        holder.setText(R.id.tvValue, item.number.toString())
    }
}